package cn.jiahua.pojo;


import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private Integer id;
    private String userName;
    private String userCode;
    private String userPassword;
    private Integer userRole;
    private String userroleName;
    //association -  用户角色- 1对1的关系
    private Role role;
    private List<Address> addreses;



}
